package com.fs.console.base.vo;

import lombok.Data;

import java.util.List;

/**
 * @author ACE
 * @desc 树结构构造实体类
 * @creationTime 2019-03-08 14:38
 * @projectName gps-root
 * @packageName com.fs.base.vo
 */
@Data
public class Tree {
    private String treeId = "id" ;
    private String treePid = "pId";
    private Object o;
    private List<Tree> children;

    public Tree(String treeId, String treePid, Object o){
        this.treeId = treeId;
        this.treePid = treePid;
        this.o = o;
    }
}